package org.edu.modules.rewardpublish.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 惩罚奖励类型
 * @Author: jeecg-boot
 * @Date: 2021-03-10
 * @Version: V1.0
 */
@Data
@TableName("ve_hr_jiangli_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "惩罚奖励类型", description = "惩罚奖励类型")
public class HqHrJiangliType implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 变动类型名称
     */
    @Excel(name = "变动类型名称", width = 15)
    @ApiModelProperty(value = "变动类型名称")
    private String jlname;
    /**
     * 变动类型代码
     */
    @Excel(name = "变动类型代码", width = 15)
    @ApiModelProperty(value = "变动类型代码")
    private String jlcode;
    /**
     * 1奖励2惩罚
     */
    @Excel(name = "1奖励2惩罚", width = 15, dicCode = "rewardpublish")
    @Dict(dicCode = "rewardpublish")
    @ApiModelProperty(value = "1奖励2惩罚")
    private Integer jltype;
    /**
     * 奖励描述
     */
    @Excel(name = "奖励描述", width = 15)
    @ApiModelProperty(value = "奖励描述")
    private String content;
    /**
     * 系统ID
     */
    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
